]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
shell-global-private.h fixes:
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 28 Oct 2009 16:59:01 +0000 (12:59 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Wed, 28 Oct 2009 16:59:01 +0000 (12:59 -0400)
- Include private header so shell-global.c compiles
- Move _shell_global_set_plugin to private header

src/shell-global-private.h
src/shell-global.c
src/shell-global.h

index 234388c04ee34a79694561215dda9e976f6e2ed0..76147a688f655dfe47200953232d36f67d9b4f92 100644 (file)
@@ -6,7 +6,9 @@
 
 #include <gjs/gjs.h>
 
-void _shell_global_set_gjs_context (ShellGlobal *global,
-                                    GjsContext  *context);
+void _shell_global_set_plugin      (ShellGlobal  *global,
+                                    MutterPlugin *plugin);
+void _shell_global_set_gjs_context (ShellGlobal  *global,
+                                    GjsContext   *context);
 
 #endif /* __SHELL_GLOBAL_PRIVATE_H__ */
index ccb37348000f352600a866814da475469b3221d8..b07d0905f58050fdb40c5aa74b137501e7d75279 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 
-#include "shell-global.h"
+#include "shell-global-private.h"
 #include "shell-wm.h"
 
 #include "display.h"
index db2e0691e91e1b4f174520d5adb772f5db6327a9..55844a3a463dee2f1daf275f87f2072348b386d9 100644 (file)
@@ -58,9 +58,6 @@ void shell_global_set_stage_input_region (ShellGlobal         *global,
 
 GList *shell_global_get_windows (ShellGlobal *global);
 
-void _shell_global_set_plugin (ShellGlobal  *global,
-                              MutterPlugin *plugin);
-
 gboolean shell_global_begin_modal (ShellGlobal *global,
                                   guint32      timestamp);
 void     shell_global_end_modal   (ShellGlobal *global,